package com.yx.learn.service;

import com.yx.learn.domain.Position;

public interface PositionService {
	
	public void savePosition(Position position) throws Exception;

	public void deletePosition(Position position) throws Exception;

	public void updatePositon(Position position) throws Exception;

	public String findAllToJson() throws Exception;

	public String findPositions(int pageNumber, int pageSize) throws Exception;

	public String positionsToCombobox() throws Exception;

	public Position findById(int id)throws Exception;

}
